package com.aabte.design2.behavioral.templatemethod;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/5/4
 */
public class Application {
    public static void main(String[] args) {
        GameAI gameAI = new OrcsAI();
        gameAI.turn();

        System.out.println("--------------------");

        gameAI = new MonstersAI();
        gameAI.turn();
    }
}
